<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">
var a = 'adsjhk213hj';
//[a,d,s,j,h,k,h,j]
alert(a.replace(/[a-zA-Z]/g,function(i){
	//alert(i);
	return '你好'
}))
</script>
</body>
</html>